package cn.edu.Day06.Entity;

import java.awt.*;

public class Star {
    public static final String NAME="*";
    private int x;
    private int y;
    private Color color;
    private int speed;

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }
    public List getStars()
    {
        return null;
    }
}
